import request from '@/utils/request'

// 查询收费管理列表
export function listCheckattr(query) {
  return request({
    url: '/chaeckattr/list',
    method: 'get',
    params: query
  })
}

// 查询收费管理详细
export function getStatistic(tollManageId) {
  return request({
    url: '/statistic/statistic/' + tollManageId,
    method: 'get'
  })
}

// 新增收费管理
export function addStatistic(data) {
  return request({
    url: '/statistic/statistic',
    method: 'post',
    data: data
  })
}

// 修改收费管理
export function updateStatistic(data) {
  return request({
    url: '/statistic/statistic',
    method: 'put',
    data: data
  })
}

// 删除收费管理
export function delStatistic(tollManageId) {
  return request({
    url: '/statistic/statistic/' + tollManageId,
    method: 'delete'
  })
}

export function retialAdd(data) {
  return request({
    url: '/statistic/statistic/retialAdd',
    method: 'post',
    data
  })
}

export function McslfAttrlist(query) {
  return request({
    url: '/tatistic/McslfAttrlist',
    method: 'get',
    params: query
  })
}